home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / DevCon / Milan_1991 / Devcon91.4 / AppShell / include / clib / macros.h < prev   
Encoding:
C/C++ Source or Header  |  1992-09-01  |  341 b   |  17 lines

  1. #ifndef CLIB_MACROS_H
  2. #define CLIB_MACROS_H
  3. /*
  4. **     $Id: macros.h,v 36.0 90/11/30 15:51:33 eric Exp $
  5. **
  6. **    C prototypes
  7. **
  8. **    (C) Copyright 1990 Commodore-Amiga, Inc.
  9. **        All Rights Reserved
  10. */
  11.  
  12. #define MAX(a,b)    ((a)>(b)?(a):(b))
  13. #define MIN(a,b)    ((a)<(b)?(a):(b))
  14. #define ABS(x)      ((x<0)?(-(x)):(x))
  15.  
  16. #endif    /* CLIB_MACROS_H */
  17.